package cn.kooki.app.duobao.presenter;

import android.app.Activity;

import cn.kooki.app.duobao.core.APIService;
import cn.kooki.app.duobao.core.MainFactory;
import cn.kooki.app.duobao.ui.view.IBaseView;


/**
 * Created by GuDong on 10/29/15 14:08.
 * Contact with 1252768410@qq.com.
 */
public class BasePresenter<GV extends IBaseView> {

    protected GV mView;
    /**
     * TODO 这里用是否用Activity待考证
     */
    protected Activity mContext;

    public static final APIService mapi = MainFactory.getApiInstance();

    public BasePresenter(Activity context, GV view) {
        mContext = context;
        mView = view;
    }
}
